<%@page import="com.mmy.domain.sys.TSysUser"%>
<!-- 引入地点 -->
<%@page import="com.mmy.domain.constzone.TConstZone"%>
<!-- 引入线路 -->
<%@page import="com.mmy.domain.line.TLineBase"%>
<!-- 引入公司 -->
<%@page import="com.mmy.domain.sys.TSysOrg"%>
<!-- 引入集合地点 -->
<%@page import="com.mmy.domain.line.TLinePlace"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	TSysUser tSysUser = (TSysUser) session.getAttribute("tSysUser");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/includeb.jsp"></jsp:include>

</head>
<body>
	<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main Start -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<main class="at-padding-large-bottom"> <article> <header
			class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
		<div class="page-header container">
			<div class="row">
				<div class="span-5 col">
					<h1>线路管理</h1>
				</div>

			</div>
		</div>
		</header> <section class="container"> <!-- 修改线路基信息 -->
		<div class="information">
			<form action="saveupdatelinebase" class="info-form">
				<h4 class="info-h4">
					<i class="fa fa-caret-right" aria-hidden="true"></i>修改近郊游信息
				</h4>
				<div class="input-container">
					<table class="info-table">
						<tr>
							<th><label for="LineName">线路名称</label></th>
							<td colspan="5"><input type="text" id="LineName"
								name="LineName" value="${tLineBase.getLineName() }"
								required="required" /><span class="mustWrite">*</span> <input
								type="hidden" name="LineID" value="${tLineBase.getLineID()}"
								readonly="readonly" /></td>
						</tr>
						<tr>

							<%-- <th><label for="LineZoneID">所属区域</label></th>
					<td colspan="5">
					<select class="select-height" id="LineZoneID" name="ZoneProvinceID" required="required">
					<c:forEach var="lstConstZoneProvince" items="${lstConstZoneProvince}">
						<option value="${lstConstZoneProvince.getZoneID()}">${lstConstZoneProvince.getZoneName()}</option>
						</c:forEach>
						</select>
					<select class="select-height"  name="ZoneCityID" required="required">
					<c:forEach var="lstConstZone" items="${lstConstZone}">
						<option value="${lstConstZone.getZoneID()}">${lstConstZone.getZoneName()}</option>
						</c:forEach>
						</select> 
						<select class="select-height"  name="ZoneID" required="required">
					<c:forEach var="tConstZoneDistrict" items="${newTConstZoneDistrict}">
						<option value="${lstConstZoneDistrict.getZoneID()}">${lstConstZoneDistrict.getZoneName()}</option>
						</c:forEach>
						</select><span class="mustWrite">*</span>
					</td> --%>

							<th><label for="LineZoneID">所属区域</label></th>
							<td colspan="5"><select class="select-height"
								id="LineZoneID" name="ZoneProvinceID" emptyOption="false"
								onchange="changeSelect(this,'getLevel4','level3','City')">
									<option>${province}</option>
									<c:forEach var="lstConstZoneProvince"
										items="${lstConstZoneProvince}">
										<option value="${lstConstZoneProvince.getZoneID()}">${lstConstZoneProvince.getZoneName()}</option>
									</c:forEach>
							</select> <select class='input-select-vlign City' name='ZoneCityID'
								emptyOption='false'
								onchange="changeSelect(this,'getLevel8','level4','ZoneID')">
									<option>${city}</option>
							</select> <select class='input-select-vlign ZoneID' id="LineZoneID"
								name="ZoneID" name='ZoneID' emptyOption='false'>
									<option value="${tLineBase.getZoneID()}">${district}</option>
							</select></td>

						</tr>
						<tr>
							<th><label for="LineOrgID">所属旅行社</label></th>
							<td colspan="5"><select class="select-height" id="LineOrgID"
								name="OrgID" required="required">
									<c:forEach var="lstSysOrg" items="${lstSysOrg}">
										<option value="${lstSysOrg.getOrgID()}">${lstSysOrg.getOrgName()}</option>
									</c:forEach>
							</select> <span class="mustWrite">*</span></td>
						</tr>
						<tr>
							<th><label for="LinePlace">集合地点与时间</label></th>
							<td colspan="5">
								<%-- <select class="select-height" id="LinePlace" name="PlaceID" required="required">
					<c:forEach var="lstLinePlace" items="${lstLinePlace}">
						<option value="${lstLinePlace.getPlaceID()}">${lstLinePlace.getPlaceName()}</option>
						</c:forEach>
						</select> --%> <input id="LinePlace" name="PlaceName" type="text"
								list="PlaceNameList" class="select-height"
								value="${vLineBase.getPlaceName()}"> <datalist
									id="PlaceNameList"> <c:forEach var="lstLinePlace"
									items="${lstLinePlace}">
									<option>${lstLinePlace.getPlaceName()}</option>
								</c:forEach> </datalist> <input type="text" name="Time" value="${tLineBase.getTime()}"
								required="required" /><span class="mustWrite">*</span>
							</td>
						</tr>
						<!-- 
				上传行程单
				<tr>
					<th><label for="LineItineraryPath">行程单</label></th>
						<td colspan="5">
						<input type="file" id="LineItineraryPath" name="ItineraryPath" required="required"/><span class="mustWrite">*</span>
					</td>
					
				</tr> -->
						<tr>
							<th><label for="LineOwn">自费项目</label></th>
							<td colspan="5"><textarea id="LineOwn" name="Own"
									required="required">${tLineBase.getOwn() } </textarea><span
								class="mustWrite">*</span></td>

						</tr>
						<tr>
							<th><label for="LineTips">温馨提示</label></th>
							<td colspan="5"><textarea id="LineTips" name="Tips"
									required="required">${tLineBase.getTips() }</textarea><span
								class="mustWrite">*</span></td>
						</tr>
						<tr>
							<th><label for="LineStandard">接待标准</label></th>
							<td colspan="5"><textarea id="LineStandard" name="Standard"
									required="required">${tLineBase.getStandard() }</textarea><span
								class="mustWrite">*</span></td>
						</tr>
						<!-- <tr>
					<th><label for="InviteCar">旅游天数</label></th>
						<td colspan="5">
						<textarea id="InviteCar" name="Car" required="required">${newTLineBase.getTips()}</textarea><span class="mustWrite">*</span>
					</td>
				</tr> -->
						<tr>
							<th><label for="LineExplain">接待说明</label></th>
							<td colspan="5"><textarea id="LineExplain" name="Explain"
									required="required">${tLineBase.getExplain() }</textarea><span
								class="mustWrite">*</span></td>
						</tr>

						<tr>
							<th><label for="LineMemo">备注</label></th>
							<td colspan="5"><textarea id="LineMemo" name="Memo">${tLineBase.getMemo()}</textarea>
							</td>
						</tr>
					</table>
					<center>
						<input type="submit" class="btn" value="保存" /> <input
							type="button" class="btn" value="返回" onclick="rehidder()" />
					</center>
				</div>
			</form>
		</div>
		</section> </article> </main>
		
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
	</div>
	<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
</body>
</html>